package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_l_ck_vip_exp", desc = "vip经验日志", autoSave = true, uploadCk = true)
public class LogVipExp extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "原始值")
    private long originalValue;
    @FieldTypeAnnotation(desc = "变化值")
    private long value;
    @FieldTypeAnnotation(desc = "当前值")
    private long nowValue;
    @FieldTypeAnnotation(desc = "商品id")
    private long mallId;   // 小数值特殊含义，0：第三方元宝充值；1：后台虚拟充值；2：返利虚拟充值；3：游戏内奖励；4：；
    @FieldTypeAnnotation(desc = "商品名称")
    private String mallName;

    public LogVipExp(long userId, long originalValue, long value, long nowValue, long mallId, String mallName) {
        this.userId = userId;
        this.originalValue = originalValue;
        this.value = value;
        this.nowValue = nowValue;
        this.mallId = mallId;
        this.mallName = mallName;
    }

    public long getUserId() {
        return userId;
    }

}
